package com.xugongzhang.springcloud.dao;

import com.xugongzhang.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @AUTHOR X
 * @DATE 2022/5/17 22:12
 */
@Mapper
public interface PaymentDao {

    public int addPayment(Payment payment);

    public Payment getPaymentById(@Param("id") Long id);
}
